package com.tuanbiao.controllers;

import com.tuanbiao.base.mvp.IModel;
import com.tuanbiao.base.mvp.IPresenter;
import com.tuanbiao.base.mvp.IView;
import com.tuanbiao.constants.UserConstants;
import com.tuanbiao.models.action.LoginAction;

public interface AccountController {
    interface Model extends IModel, LoginAction {

    }

    interface LoginView extends IView {

        void startMain();

        void showLoginInfo(String idCard, String password);

        void showUserName(String userName);

        void startDeviceSetting(@UserConstants.KeyEventUserType int type);

        void startMacSetting();

        void showAppVersion(String versionName);
    }

    interface LoginPresenter extends IPresenter {

        void login(String idCard, String password);

        void checkPassword(String content);

        void checkMacSettingPassword(String content);

    }

    interface OfflineRegisterView extends IView {

        void registerSuccess(String idCard, String password);

        void showIdCard(String mIdCard);
    }

    interface OfflineRegisterPresenter extends IPresenter {

        void register(String idCard, String name, String password, String confirmPassword
                , String companyName, String companyCode, String createCompany, String blastCode);
    }
}
